#ifndef RLE_H
#define RLE_H

#include "../include/step.h"
#include "../../include/hzstream.h"
#include <stdint.h>

using namespace step;

namespace rle{
class RLE:public Step{
	public:
		RLE();
		virtual ~RLE();
		
		void encode(uint8_t* in_buf,uint8_t* out_buf,uint32_t buf_size);
		void decode(uint8_t* in_buf,uint8_t* out_buf,uint32_t buf_size);
	
		void encode(hzstream* hz);
		void decode(hzstream* hz);
		
};
}//namespace rle 
#endif //RLE_H
